package simu.testers;

import java.io.IOException;
import java.util.Scanner;

import simu.nodes.APNode;




public class CodeTester2 {

	public static void main(String[] args) throws IOException {
		
		APNode obj = new APNode(1);
		
		System.out.println(obj);
		obj.startSensor("picture");
		obj.startSensor("video");
		obj.startSensor("audio");
		
		String temp = "";
		Scanner in = new Scanner(System.in);
		
		while (!temp.equals("done")){
			temp = in.nextLine();
			System.out.println(temp);
		}
//		
//		System.out.println(obj.stopSensor());
		obj.stopSensors();

	}
	

}
